<template>
  <div class="app">
    <!-- 头部 -->
    <van-nav-bar
      title="cs-2002"
      left-text="返回"
      left-arrow
    />
    <!-- 路由区域 -->
    <router-view></router-view>

    <!-- 底部 -->
    <van-tabbar v-model="active">
      <van-tabbar-item
        icon="home-o"
        to="/home"
      >home</van-tabbar-item>
      <van-tabbar-item
        icon="friends-o"
        to="/frients"
      >friends</van-tabbar-item>
      <van-tabbar-item
        icon="cart"
        to="/cart"
      >cart</van-tabbar-item>
      <van-tabbar-item
        icon="search"
        to="/search"
      >search</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  data: () => ({}),
  created () {},
  methods: {}
}
</script>
<style lang="less" scoped>
</style>
